package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Mallorderdetail implements Serializable {

   /**主键*/
    private Integer id;
   /**订单主键*/
    private Integer orderId;
   /**商品主键*/
    private Integer productId;
   /**数量*/
    private Integer quantity;
   /**消费*/
    private Float cost;    
   /**未定义1*/
    private Integer extension1;
   /**未定义2*/
    private String extension2;
   /**未定义3*/
    private String extension3;

    public Mallorderdetail(){}
    
    public Mallorderdetail(Integer id,Integer orderId,Integer productId,Integer quantity,Float cost,Integer extension1,String extension2,String extension3){
        this.id = id;
        this.orderId = orderId;
        this.productId = productId;
        this.quantity = quantity;
        this.cost = cost;
        this.extension1 = extension1;
        this.extension2 = extension2;
        this.extension3 = extension3;
    }

   /**获取主键属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置主键属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取订单主键属性的值*/
    public Integer getOrderId() {
        return this.orderId;
    }
   /**设置订单主键属性的值*/
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
   /**获取商品主键属性的值*/
    public Integer getProductId() {
        return this.productId;
    }
   /**设置商品主键属性的值*/
    public void setProductId(Integer productId) {
        this.productId = productId;
    }
   /**获取数量属性的值*/
    public Integer getQuantity() {
        return this.quantity;
    }
   /**设置数量属性的值*/
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
   /**获取消费属性的值*/
    public Float getCost() {
        return this.cost;
    }
   /**设置消费属性的值*/
    public void setCost(Float cost) {
        this.cost = cost;
    }
   /**获取未定义1属性的值*/
    public Integer getExtension1() {
        return this.extension1;
    }
   /**设置未定义1属性的值*/
    public void setExtension1(Integer extension1) {
        this.extension1 = extension1;
    }
   /**获取未定义2属性的值*/
    public String getExtension2() {
        return this.extension2;
    }
   /**设置未定义2属性的值*/
    public void setExtension2(String extension2) {
        this.extension2 = extension2;
    }
   /**获取未定义3属性的值*/
    public String getExtension3() {
        return this.extension3;
    }
   /**设置未定义3属性的值*/
    public void setExtension3(String extension3) {
        this.extension3 = extension3;
    }
}
